<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>后台--文章管理</title>
    <link rel="stylesheet" type="text/css" href="<?php echo isset($skin)?$skin:"";?>images/style.css" />
    <base target="_self"/>

    <script src='<?php echo isset($skin)?$skin:"";?>js/jquery.min.js'></script>
    <script type="text/javascript" src="<?php echo isset($skin)?$skin:"";?>js/jquery.form.min.js"></script>
    <script type="text/javascript" src="<?php echo isset($skin)?$skin:"";?>js/dist/dialog-min.js"></script>
    <script src="<?php echo isset($skin)?$skin:"";?>js/admin.js"></script>
    <script type="text/javascript">
        <!--
        $(document).ready(function () {
            $('.new_table tbody tr:even').addClass('h'); //奇偶变色，添加样式
        });
        //-->
    </script>
    <script type="text/javascript" charset="UTF-8" src="<?php echo isset($skin)?$skin:"";?>/js/validate.js"></script>
    <script type="text/javascript" charset="UTF-8" src="<?php echo isset($skin)?$skin:"";?>js/artTemplate.js"></script>
    <script type="text/javascript" charset="UTF-8" src="<?php echo isset($skin)?$skin:"";?>js/artTemplate-plugin.js"></script>
    <script type="text/javascript" charset="UTF-8" src="<?php echo isset($skin)?$skin:"";?>js/form.js"></script>
    <script type="text/javascript" charset="UTF-8" src="<?php echo isset($skin)?$skin:"";?>js/artDialog.js"></script>
<script type="text/javascript" charset="UTF-8" src="<?php echo isset($skin)?$skin:"";?>js/iframeTools.js"></script>
<link rel="stylesheet" href="<?php echo isset($skin)?$skin:"";?>js/artdialog.css" type="text/css">
</head>
<body>
<div class="hh6"></div>
<div class="mbx"><span class="fl"><a href="?">工作小助手管理中心</a>--<?php echo isset($name)?$name:"";?> </span><span class="fr"><a href="?c=<?php echo isset($classname)?$classname:"";?>">分栏列表</a></span> </div>
<form method="Post" name="myForm" action="" id="myForm">
<table id="senfe" class="new_table" width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
<thead><tr class="n_bt"><td colspan="2" align="center">工作小助手管理系统</td></tr>
<tr><th height="28" colspan="2" class="thbt">【<?php echo isset($title)?$title:"";?>】</th></tr>
</thead>
<tbody id="bstable">
    <tr>
        <td width="13%" height="30" align="right">分组：</td>
        <td width="87%">
            <select name="columntop" class="input400 selecth">
                <option value="0">顶部分组</option>
                <?php if(is_array($columnlist))  foreach($columnlist as $v) { ?>
                <option value="<?php echo isset($v->columnid)?$v->columnid:"";?>" <?php if($oj->columntop==$v->columnid){?>selected="selected"<?php }?>><?php echo isset($v->columnname)?$v->columnname:"";?></option>
                <?php }?>
            </select>
        </td>
    </tr>
    <tr>
      <td width="13%" height="30" align="right">中文说明：</td>
      <td width="87%">
          <input name="des" type="text" class="input400" value="<?php echo isset($oj->columnname)?$oj->columnname:"";?>"/><span>(*)</span></td>
    </tr>
    <tr>
      <td width="13%" height="30" align="right">排序：</td>
      <td width="87%">
          <input name="rank" type="text" class="input400" value="<?php if($oj->columnrank){?><?php echo isset($oj->columnrank)?$oj->columnrank:"";?><?php }else{?>1<?php }?>"/></td>
    </tr>
    <tr>
      <td width="13%" height="30" align="right">是否显示：</td>
      <td width="87%">
		  <input name="show" class="radio" id="is_show1" type="radio" value="1" <?php if($oj->columnshow || !$id){?> checked="checked" <?php }?>/>
			<label for="is_show1" class="trigger"></label> 是 
		  <input name="show" class="radio" id="is_show2" type="radio" value="0" <?php if(!$oj->columnshow && $form_action==mod_do){?> checked="checked" <?php }?> /> 
			<label for="is_show2" class="trigger"></label> 否</td>
    </tr>        
    <tr>
      <td height="35" colspan="2" align="center" >
          <input name="a" type="hidden" value="<?php echo isset($form_action)?$form_action:"";?>" />
          <input name="id" type="hidden" value="<?php echo isset($id)?$id:"";?>" />
          <input name="add" id="submit" class="button" type="submit" value="确认" />
      &nbsp;<input name="" type="reset" class="button" value="重置" />
      </td>
    </tr>
</tbody>
</table>
</form>
<script type="text/javascript">
    $(document).ready(function() {
        k_ajaxForm('#myForm',"?c=<?php echo isset($classname)?$classname:"";?>",<?php if($id){?>false<?php }else{?>true<?php }?>);
        });

        function showRequest(formData, jqForm, options){
            var des=document.myForm.des;
            if(des.value==''){
                lab_err(des,'中文说明不能为空');
                return false;
            }
        }
</script>
<script type="text/javascript">
    <!--
    $(document).ready(function () {
        $('.new_table tbody tr:even').addClass('h'); //奇偶变色，添加样式
    });

    //-->
    function alert_del(url) {
        if (confirm("您确定要删除吗？"))
            window.location = url;
        return false;
    }
</script>
</body>
</html>